<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
   
    <title>电子书籍管理平台</title>  
    <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/pintuer.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/admin.css">
    <script src="${pageContext.request.contextPath}/admin/js/jquery.js"></script>
    <script src="${pageContext.request.contextPath}/admin/js/pintuer.js"></script>  
</head>

<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="${pageContext.request.contextPath}/admin/images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />电子书籍管理平台</h1>
  </div>
  <div class="head-l" style="float:right"><a class="button button-little bg-green" href="${pageContext.request.contextPath}/subMain" target="right"><span class="icon-home"></span> 系统首页</a> &nbsp;&nbsp;<a href="javascript:void(0);" onclick="window.reload();" class="button button-little bg-yellow"><span class="icon-refresh"></span> 刷新页面</a> &nbsp;&nbsp;<a href="##" class="button button-little bg-blue"><span class="icon-wrench"></span> 清除缓存</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="${pageContext.request.contextPath}/"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>

 <div class="leftnav">
  <div class="leftnav-title"><strong>
  <span class="icon-list"></span>后台管理中心</strong></div>
  
  <h2><span class="icon-user"></span>个人中心</h2>
  <ul style="display:block">
    <li><a href="${pageContext.request.contextPath}/userInfo" target="right"><span class="icon-caret-right"></span>个人信息</a></li>
    <li><a href="${pageContext.request.contextPath}/userInfo/changePassword" target="right"><span class="icon-caret-right"></span>修改密码</a></li>
    <li><a href="${pageContext.request.contextPath}/userInfo/personOAuth" target="right"><span class="icon-caret-right"></span>第三方账号</a></li>        
  </ul>
  <h2><span class="icon-magic"></span>系统管理</h2>
  <ul>
   	<li><a href="${pageContext.request.contextPath}/system/menu" target="right"><span class="icon-caret-right"></span>菜单管理</a></li>
    <li><a href="${pageContext.request.contextPath}/system/role" target="right"><span class="icon-caret-right"></span>角色管理</a></li>  
    <li><a href="${pageContext.request.contextPath}/system/authorize" target="right"><span class="icon-caret-right"></span>权限管理</a></li>
  </ul>
  <h2><span class="icon-database"></span>数据字典</h2>
  <ul>
    <li><a href="${pageContext.request.contextPath}/oneLevelDictionary" target="right"><span class="icon-caret-right"></span>一维字典</a></li>
    <li><a href="${pageContext.request.contextPath}/twoLevelDictionary" target="right"><span class="icon-caret-right"></span>二维字典</a></li>
    <li><a href="${pageContext.request.contextPath}/dictionaryType" target="right"><span class="icon-caret-right"></span>字典类型</a></li>        
  </ul>
  <h2><span class="icon-user-md"></span>账户管理</h2>
  <ul>
    <li><a href="list.html" target="right"><span class="icon-caret-right"></span>网站用户</a></li>
    <li><a href="add.html" target="right"><span class="icon-caret-right"></span>系统用户</a></li>
    <li><a href="cate.html" target="right"><span class="icon-caret-right"></span>第三方授权</a></li>        
  </ul>
  <h2><span class="icon-bar-chart-o"></span>网站管理</h2>
  <ul>
    <li><a href="${pageContext.request.contextPath}/website/ebooktype/index" target="right"><span class="icon-caret-right"></span>书籍类型管理</a></li>
    <li><a href="${pageContext.request.contextPath}/website/ebookinfo/index" target="right"><span class="icon-caret-right"></span>书籍信息管理</a></li>
    <li><a href="${pageContext.request.contextPath}/website/ebookinfo/edit" target="right"><span class="icon-caret-right"></span>网络书籍资源</a></li>        
  </ul>  
  <h2><span class="icon-pencil-square-o"></span>系统日志</h2>
  <ul>
    <li><a href="list.html" target="right"><span class="icon-caret-right"></span>书籍操作记录</a></li>
    <li><a href="add.html" target="right"><span class="icon-caret-right"></span>系统操作记录</a></li>
    <li><a href="cate.html" target="right"><span class="icon-caret-right"></span>登录登出记录</a></li>        
  </ul>  
</div>

<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>

<ul class="bread">
  <li><a href="${pageContext.request.contextPath}/subMain" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
 <!--  <li><b>当前语言：</b><span style="color:red;">中文</php></span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li> -->
</ul>
<div class="admin">
  	<iframe scrolling="auto" rameborder="0" src="${pageContext.request.contextPath}/subMain" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
	<p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
</div>
</body>
</html>